package com.tc.service;

import com.tc.dto.Result;
import com.tc.messageDto.Daina;
import com.tc.messageDto.DainaCenter;

import javax.servlet.http.HttpServletRequest;

public interface DainaService {
    //发布代拿
    Result addDaina(Daina daina, HttpServletRequest request);
    //获取所有代拿订单
    Result getAllDaina(Integer number);
    //获取代拿订单
    Result addMyDaina(DainaCenter dainaCenter, HttpServletRequest request);
    //获取我的所有代拿
    Result selectAllMyDaina(HttpServletRequest request);
    //获取自己的所有代拿(一)
    Result getMyselfChatFirst(HttpServletRequest request);
    //获取自己的所有聊天对象(二)
    Result getMyselfChatSecond(HttpServletRequest request);
    //获取指定对象的聊天记录
    Result getChatMessage(Integer id, HttpServletRequest request);
    //获取对象的个人信息
    Result getUserMessage(Integer id);
}
